package com.wxzz.elearing.user.service.openfeign.sentinel;

import com.alibaba.fastjson.JSONObject;
import com.wxzz.elearing.user.service.openfeign.ICurriculumApiFeign;
import com.wxzz.elearning.common.dto.FeignStudyTimeDto;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class CurriculumApiFeignImpl implements ICurriculumApiFeign {

    @Override
    public ReturnVO<List<JSONObject>> selectWxUserTrainSurvey(Long trainSurveyId, List<Long> wxUserIds) {
        ReturnVO<List<JSONObject>> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseById调用异常");
        return returnVO;
    }

    @Override
    public ReturnVO<List<JSONObject>> selectWxUserStudyPlan(Long wxUserStudyPlanId, List<Long> wxUserIds) {
        ReturnVO<List<JSONObject>> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectWxUserStudyPlan调用异常");
        return returnVO;
    }
    @Override
    public ReturnVO<String> selectWxUserCurriculumDataByWxUserId(Long wxUserId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseById调用异常");
        return returnVO;
    }

    @Override
    public ReturnVO<String> selectDocentById(Long docentId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseById调用异常");
        return returnVO;
    }

    @Override
    public FeignStudyTimeDto selectFeignStudyTimeDto(Long enterpriseId) {
        return new FeignStudyTimeDto();
    }

    @Override
    public Integer selectCountByEnterpriseId(Long enterpriseId) {
        return 0;
    }
}
